package com.example.demo.domain;

import java.util.Date;

public class SysUserFlow {
    /**
     * 流水ID
     */
    private Long id;

    /**
     * 商户或者代理ID
     */
    private Long userId;

    /**
     * 变更金额，单位分
     */
    private Long amount;

    /**
     * 变更前账户余额，单位分
     */
    private Long balance;

    /**
     * 变更后账户余额，单位分
     */
    private Long afterBalance;

    /**
     * 变更类型：1-加款,2-减款
     */
    private String changeType;

    /**
     * 业务类型：1-分润,2-提现,3-调账
     */
    private String bizType;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 业务订单号
     */
    private String orderId;

    /**
     * 备注
     */
    private String remark;

    /**
     * 用户类型。2：商户；3：代理
     */
    private String userType;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getAmount() {
        return amount;
    }

    public void setAmount(Long amount) {
        this.amount = amount;
    }

    public Long getBalance() {
        return balance;
    }

    public void setBalance(Long balance) {
        this.balance = balance;
    }

    public Long getAfterBalance() {
        return afterBalance;
    }

    public void setAfterBalance(Long afterBalance) {
        this.afterBalance = afterBalance;
    }

    public String getChangeType() {
        return changeType;
    }

    public void setChangeType(String changeType) {
        this.changeType = changeType;
    }

    public String getBizType() {
        return bizType;
    }

    public void setBizType(String bizType) {
        this.bizType = bizType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }
}